<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/6/23
 * Time: 14:04
 */
namespace app\api\controller\v1;
class Sysmsg extends Base {
    public function getMsg(){
        $model = model('Sysmsg');
        $result = $model->getMsg();
        if($result === null){
            return show(201,'没有通知消息');
        }
        return show(200,'获取成功！',$result);
    }
}